package com.chixing.day18_thread;

public class Bank {
    private Bank(){}

    public static enum BankEnum{
        Bank;

        private Bank bank =  null;

        private BankEnum(){
            bank = new Bank();
        }
        public Bank getInstance(){
            return bank;
        }
    }

    public static void main(String[] args) {
      //  Bank bank = BankEnum.XX.getInstance();
    }

}
